package com.nt.train.service.impl;

import com.nt.train.dto.Member;
import com.nt.train.service.Strategy;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;

/**
vip用户
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 9:20
 */
@Service("vipMember")
public class VipMember implements Strategy {

    @Override
    public BigDecimal calculatePrice(Member member) {
        return new BigDecimal("80");
    }
}
